package com.jdbc.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.jdbc.dao.AccountDao;
@Service
public class AccountServiceImpl implements AccountService {
	@Resource
	public AccountDao ad;
	@Override
	public void zhuanzhang(String accountOut, String accountIn, int money) {
		ad.accountOut(accountOut, money);
		ad.accountIn(accountIn, money);
	}

}
